const path = require('path')

const pathStr = path.join('/a', '/b', '/c')
// pathStr \a\b\c
console.log('pathStr', pathStr)

const pathStr2 = path.join('/a', '/b', '/c', '../')
// pathStr2 \a\b\ ../会抵消一个路径
console.log('pathStr2', pathStr2)